package com.ruoyi.order.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : handsome boy
 * @date : 2024-12-17 19:59
 * @description :
 **/
@FeignClient(contextId = "order", value = ServiceNameConstants.ORDER_SERVICE)
public interface Ordet {
    @RequestMapping("/order/pay")
    public void  notify(@RequestParam(name = "orderId", required = false)Integer orderId,
                        @RequestParam(name = "payStatus", required = false)String payStatus);

}
